package com.wangmengtao.upms.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: UpmsPermission
 * @Description: TODO
 * @Author: WangMengtao
 * @Data: 2019/6/5 17:15
 * @Version: 1.0.0
 */
public class UpmsPermission extends BaseEntity<Long> {
    private static final long serialVersionUID = 6492103012427959804L;
    /** 功能名称 */
    private String name;
    /** 父功能ID */
    private Long parentId;
    /** 功能图标 */
    private String icon;
    /** 功能类型：0目录,1菜单,2按钮 */
    private String type;
    /** 功能URL */
    private String url;
    /** 打开方式 */
    private String openMode;
    /** 功能显示顺序 */
    private String order;
    /** 功能状态 */
    private boolean status;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getOpenMode() {
        return openMode;
    }

    public void setOpenMode(String openMode) {
        this.openMode = openMode;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}
